const { getTemplateParam } = require('../models/list')

const list = async (ctx) => {
  let key = ctx.params.key
  let tplParam = await getTemplateParam(key)
  await ctx.render('list', tplParam)
}

module.exports = {
  list
}